package com.ebeijia.service.user.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ebeijia.mybatis.mapper.ApplyInfoMapper;
import com.ebeijia.mybatis.pojo.ApplyInfo;
import com.ebeijia.service.user.ApplyInfoService;
@Service("applyInfoService")
public class ApplyInfoServiceImpl implements ApplyInfoService{
	@Autowired
	private ApplyInfoMapper applyMapper;
	

	@Override
	public List<ApplyInfo> queryApplyProgress(String userId) {
		return applyMapper.getBusinessRepair(userId);
	}


	@Override
	public int insert(ApplyInfo apply) {
		
		return applyMapper.insert(apply);
	}

}
